package com.example.bzh.gamecat.ui.live.hot;

import com.example.bzh.gamecat.bean.hot.Hotbean;
import com.example.bzh.gamecat.httputils.hotlive.HotHttpHelper;
import com.example.bzh.gamecat.mvp.IBaseModel;
import com.example.bzh.gamecat.mvp.IBasePresenter;
import com.example.bzh.gamecat.mvp.IBaseView;

import java.util.HashMap;

import retrofit2.Callback;

/**
 * Created by peter on 2016/8/17.
 */
public class HotContract {

    public interface View extends IBaseView {
        void onGetDataSuccess(Hotbean hotbean);

        void onGetDataFaild(String msg);
    }

    public interface Mode extends IBaseModel {
        void getData(HashMap<String, String> params, Callback<Hotbean> callback);

    }

    public interface Presenter extends IBasePresenter {
        void getData();
    }
}
